package com.gdou.teaching.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author bo
 * @date Created in 14:53 2019/9/14
 * @description
 **/
@Data
@ApiModel(value = "更新课程人数表单",description = "提交课程编号,增加课程的学生列表(学号),删除课程的学生列表(学号)")
public class CourseUpdateStuForm {
    @ApiModelProperty(value = "课程编号",name = "courseId",example = "10")
    @NotNull(message = "课程编号必填")
    //课程编号
    private Integer courseId;

    @ApiModelProperty(value = "增加课程的学生列表",name = "addStudentIdList")
    //增加上课学生列表(学号)
    private List<String> addStudentIdList;

    @ApiModelProperty(value = "删除课程的学生列表",name = "deleteStudentIdList")
    //删除上课学生列表(学号)
    private List<String> deleteStudentIdList;

}
